package com.showcai.service.impl;

import com.showcai.dao.CertificateUserdLogMapper;
import com.showcai.module.CertificateUserdLog;
import com.showcai.service.CertificateUserdLogService;
import com.showcai.service.ServiceBase;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * Created by zpc on 2017/7/11.
 */
@Service
public class CertificateUserdLogServiceImpl extends ServiceBase implements CertificateUserdLogService {

    @Autowired
    CertificateUserdLogMapper certificateUserdLogMapper;


    @Override
    public int addCertificateUserLog(CertificateUserdLog certificateUserLog) {
        return certificateUserdLogMapper.insertCertificateUserdLog(certificateUserLog);
    }


    @Override
    public List<CertificateUserdLog> getCertificateUserdLogList(Map<String, String> map) {
        return certificateUserdLogMapper.getCertificateUserdLogList(map);
    }
}
